﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Niknak.Services.ServiceCore.Msmq
{
    /// <summary>
    /// Describes the result of an operation
    /// </summary>
    public class OperationResult
    {
        /// <summary>
        /// Operation outcome
        /// </summary>
        public InternalEnums.Msmq.ResultStatus Result { get; set; }
        /// <summary>
        /// Additional information for the result
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// Exception that occured during the operation, if applicable
        /// </summary>
        public Exception Exception { get; set; }
    }
}
